package org.example.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.example.entity.Boat;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author scs
 * @since 2025-03-04
 */
@Mapper
public interface BoatMapper extends BaseMapper<Boat> {
    List<Boat> getBoat(@Param("start") String start,
                       @Param("end") String end,
                       @Param("time1") boolean time1,
                       @Param("time2") boolean time2,
                       @Param("time3") boolean time3,
                       @Param("time4") boolean time4);
}
